home *** CD-ROM | disk | FTP | other *** search
- LDTBREAD(3X) Last changed: 11-5-98
-
-
- NNAAMMEE
- llddttbbrreeaadd - Reads an indexed symbol table entry of a common object file
-
- SSYYNNOOPPSSIISS
- ##iinncclluuddee <<ssttddiioo..hh>>
- ##iinncclluuddee <<ffiilleehhddrr..hh>>
- ##iinncclluuddee <<ssyymmss..hh>>
- ##iinncclluuddee <<llddffccnn..hh>>
-
- iinntt llddttbbrreeaadd (("_l_d_p_t_r,_s_y_m_i_n_d_e_x,_s_y_m_b_o_l"))
- LLDDFFIILLEE **_l_d_p_t_r;;
- lloonngg _s_y_m_i_n_d_e_x;;
- ppSSYYMMRR _s_y_m_b_o_l;;
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- IRIX systems (o32 ABI only)
-
- DDEESSCCRRIIPPTTIIOONN
- llddttbbrreeaadd reads the symbol table entry specified by _s_y_m_i_n_d_e_x of the
- common object file currently associated with _l_d_p_t_r into the area of
- memory beginning at _s_y_m_b_o_l.
-
- llddttbbrreeaadd returns SSUUCCCCEESSSS or FFAAIILLUURREE. If _s_y_m_i_n_d_e_x is greater than the
- number of symbols in the object file, or if it cannot read the
- specified symbol table entry, llddttbbrreeaadd fails.
-
- The local and external symbols are concatenated into a linear list.
- Symbols are accessible from symnum zero to
- SSYYMMHHEEAADDEERR((llddppttrr))..iissyymmMMaaxx++SSYYMMHHEEAADDEERR((llddppttrr))..iieexxttMMaaxx.. The index and iss
- fields of the SYMR are made absolute (rather than file relative) so
- that routines llddggeettnnaammee(3X), llddggeettaauuxx(3X), and llddttbbrreeaadd (this routine)
- proceed normally given those indices. Only the ssyymm part of externals
- is returned.
-
- The first symbol in the symbol table has an index of zzeerroo.
-
- The program must allocate space big enough for a SSYYMMRR and point the
- ppSSYYMMRR argument at the space before calling llddttbbrreeaadd.
-
- The program must be loaded with the object file access routine library
- lliibbmmlldd..aa.
-
- iinnttrroo(5) describes IINNCCDDIIRR and LLIIBBDDIIRR.
-
- SSEEEE AALLSSOO
- llddcclloossee(3X), llddggeettnnaammee(3X), llddooppeenn(3X), llddttbbsseeeekk(3X)
-
- iinnttrroo(4), llddffccnn(4)
-
- This man page is available only online.
-
-